package cn.jingdalei.org.mapper;

import cn.jingdalei.basic.mapper.BaseMapper;
import cn.jingdalei.basic.query.BaseQuery;
import cn.jingdalei.org.domain.Department;
import cn.jingdalei.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper  extends BaseMapper<Department> {
    // 1. 基础的CRUD通过继承实现

    // 2. 扩展的功能自己单独写

    // 加载部门树
    List<Department> deptTree();
}
